<script setup lang="ts">

</script>

<template>
  <div class="loadingClass">
    <div class="loadingClass2"><div class="loadingClass3"></div> </div>
  </div>
</template>

<style scoped>
.loadingClass {
  position: relative;
  display: flex;
  justify-content: center; /* 添加此行以在水平方向上居中子元素 */
  align-items: center;
  width: 290px;
  height: 40px;
  border-radius: 10px;
  background-color: transparent;
}

.loadingClass2 {
  position: absolute;
  width: 40px;
  height: 40px;
  background-image: linear-gradient(rgb(186, 66, 255) 35%,rgb(0, 225, 255));
  animation: spinning82341 1.7s linear infinite;
  text-align: center;
  border-radius: 50px;
  filter: blur(1px);
  box-shadow: 0px -5px 20px 0px rgb(186, 66, 255), 0px 5px 20px 0px rgb(0, 225, 255);
}

.loadingClass3 {
  background-color: rgb(36, 36, 36);
  width: 40px;
  height: 40px;
  border-radius: 50px;
  filter: blur(10px);
}

@keyframes spinning82341 {
  to {
    transform: rotate(360deg);
  }
}
</style>